package com.ctgu.tengyun.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ProductRepairRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer startIndex;

    private Integer pageSize;

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getStartIndex() {
        return startIndex;
    }

    public void setStartIndex(Integer startIndex) {
        this.startIndex = startIndex;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public ProductRepairRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andProductNoIsNull() {
            addCriterion("product_no is null");
            return (Criteria) this;
        }

        public Criteria andProductNoIsNotNull() {
            addCriterion("product_no is not null");
            return (Criteria) this;
        }

        public Criteria andProductNoEqualTo(String value) {
            addCriterion("product_no =", value, "productNo");
            return (Criteria) this;
        }

        public Criteria andProductNoNotEqualTo(String value) {
            addCriterion("product_no <>", value, "productNo");
            return (Criteria) this;
        }

        public Criteria andProductNoGreaterThan(String value) {
            addCriterion("product_no >", value, "productNo");
            return (Criteria) this;
        }

        public Criteria andProductNoGreaterThanOrEqualTo(String value) {
            addCriterion("product_no >=", value, "productNo");
            return (Criteria) this;
        }

        public Criteria andProductNoLessThan(String value) {
            addCriterion("product_no <", value, "productNo");
            return (Criteria) this;
        }

        public Criteria andProductNoLessThanOrEqualTo(String value) {
            addCriterion("product_no <=", value, "productNo");
            return (Criteria) this;
        }

        public Criteria andProductNoLike(String value) {
            addCriterion("product_no like", value, "productNo");
            return (Criteria) this;
        }

        public Criteria andProductNoNotLike(String value) {
            addCriterion("product_no not like", value, "productNo");
            return (Criteria) this;
        }

        public Criteria andProductNoIn(List<String> values) {
            addCriterion("product_no in", values, "productNo");
            return (Criteria) this;
        }

        public Criteria andProductNoNotIn(List<String> values) {
            addCriterion("product_no not in", values, "productNo");
            return (Criteria) this;
        }

        public Criteria andProductNoBetween(String value1, String value2) {
            addCriterion("product_no between", value1, value2, "productNo");
            return (Criteria) this;
        }

        public Criteria andProductNoNotBetween(String value1, String value2) {
            addCriterion("product_no not between", value1, value2, "productNo");
            return (Criteria) this;
        }

        public Criteria andRepairDateIsNull() {
            addCriterion("repair_date is null");
            return (Criteria) this;
        }

        public Criteria andRepairDateIsNotNull() {
            addCriterion("repair_date is not null");
            return (Criteria) this;
        }

        public Criteria andRepairDateEqualTo(Date value) {
            addCriterion("repair_date =", value, "repairDate");
            return (Criteria) this;
        }

        public Criteria andRepairDateNotEqualTo(Date value) {
            addCriterion("repair_date <>", value, "repairDate");
            return (Criteria) this;
        }

        public Criteria andRepairDateGreaterThan(Date value) {
            addCriterion("repair_date >", value, "repairDate");
            return (Criteria) this;
        }

        public Criteria andRepairDateGreaterThanOrEqualTo(Date value) {
            addCriterion("repair_date >=", value, "repairDate");
            return (Criteria) this;
        }

        public Criteria andRepairDateLessThan(Date value) {
            addCriterion("repair_date <", value, "repairDate");
            return (Criteria) this;
        }

        public Criteria andRepairDateLessThanOrEqualTo(Date value) {
            addCriterion("repair_date <=", value, "repairDate");
            return (Criteria) this;
        }

        public Criteria andRepairDateIn(List<Date> values) {
            addCriterion("repair_date in", values, "repairDate");
            return (Criteria) this;
        }

        public Criteria andRepairDateNotIn(List<Date> values) {
            addCriterion("repair_date not in", values, "repairDate");
            return (Criteria) this;
        }

        public Criteria andRepairDateBetween(Date value1, Date value2) {
            addCriterion("repair_date between", value1, value2, "repairDate");
            return (Criteria) this;
        }

        public Criteria andRepairDateNotBetween(Date value1, Date value2) {
            addCriterion("repair_date not between", value1, value2, "repairDate");
            return (Criteria) this;
        }

        public Criteria andRepairTypeIsNull() {
            addCriterion("repair_type is null");
            return (Criteria) this;
        }

        public Criteria andRepairTypeIsNotNull() {
            addCriterion("repair_type is not null");
            return (Criteria) this;
        }

        public Criteria andRepairTypeEqualTo(Integer value) {
            addCriterion("repair_type =", value, "repairType");
            return (Criteria) this;
        }

        public Criteria andRepairTypeNotEqualTo(Integer value) {
            addCriterion("repair_type <>", value, "repairType");
            return (Criteria) this;
        }

        public Criteria andRepairTypeGreaterThan(Integer value) {
            addCriterion("repair_type >", value, "repairType");
            return (Criteria) this;
        }

        public Criteria andRepairTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("repair_type >=", value, "repairType");
            return (Criteria) this;
        }

        public Criteria andRepairTypeLessThan(Integer value) {
            addCriterion("repair_type <", value, "repairType");
            return (Criteria) this;
        }

        public Criteria andRepairTypeLessThanOrEqualTo(Integer value) {
            addCriterion("repair_type <=", value, "repairType");
            return (Criteria) this;
        }

        public Criteria andRepairTypeIn(List<Integer> values) {
            addCriterion("repair_type in", values, "repairType");
            return (Criteria) this;
        }

        public Criteria andRepairTypeNotIn(List<Integer> values) {
            addCriterion("repair_type not in", values, "repairType");
            return (Criteria) this;
        }

        public Criteria andRepairTypeBetween(Integer value1, Integer value2) {
            addCriterion("repair_type between", value1, value2, "repairType");
            return (Criteria) this;
        }

        public Criteria andRepairTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("repair_type not between", value1, value2, "repairType");
            return (Criteria) this;
        }

        public Criteria andRepairFileIsNull() {
            addCriterion("repair_file is null");
            return (Criteria) this;
        }

        public Criteria andRepairFileIsNotNull() {
            addCriterion("repair_file is not null");
            return (Criteria) this;
        }

        public Criteria andRepairFileEqualTo(String value) {
            addCriterion("repair_file =", value, "repairFile");
            return (Criteria) this;
        }

        public Criteria andRepairFileNotEqualTo(String value) {
            addCriterion("repair_file <>", value, "repairFile");
            return (Criteria) this;
        }

        public Criteria andRepairFileGreaterThan(String value) {
            addCriterion("repair_file >", value, "repairFile");
            return (Criteria) this;
        }

        public Criteria andRepairFileGreaterThanOrEqualTo(String value) {
            addCriterion("repair_file >=", value, "repairFile");
            return (Criteria) this;
        }

        public Criteria andRepairFileLessThan(String value) {
            addCriterion("repair_file <", value, "repairFile");
            return (Criteria) this;
        }

        public Criteria andRepairFileLessThanOrEqualTo(String value) {
            addCriterion("repair_file <=", value, "repairFile");
            return (Criteria) this;
        }

        public Criteria andRepairFileLike(String value) {
            addCriterion("repair_file like", value, "repairFile");
            return (Criteria) this;
        }

        public Criteria andRepairFileNotLike(String value) {
            addCriterion("repair_file not like", value, "repairFile");
            return (Criteria) this;
        }

        public Criteria andRepairFileIn(List<String> values) {
            addCriterion("repair_file in", values, "repairFile");
            return (Criteria) this;
        }

        public Criteria andRepairFileNotIn(List<String> values) {
            addCriterion("repair_file not in", values, "repairFile");
            return (Criteria) this;
        }

        public Criteria andRepairFileBetween(String value1, String value2) {
            addCriterion("repair_file between", value1, value2, "repairFile");
            return (Criteria) this;
        }

        public Criteria andRepairFileNotBetween(String value1, String value2) {
            addCriterion("repair_file not between", value1, value2, "repairFile");
            return (Criteria) this;
        }

        public Criteria andRepairPersonIsNull() {
            addCriterion("repair_person is null");
            return (Criteria) this;
        }

        public Criteria andRepairPersonIsNotNull() {
            addCriterion("repair_person is not null");
            return (Criteria) this;
        }

        public Criteria andRepairPersonEqualTo(String value) {
            addCriterion("repair_person =", value, "repairPerson");
            return (Criteria) this;
        }

        public Criteria andRepairPersonNotEqualTo(String value) {
            addCriterion("repair_person <>", value, "repairPerson");
            return (Criteria) this;
        }

        public Criteria andRepairPersonGreaterThan(String value) {
            addCriterion("repair_person >", value, "repairPerson");
            return (Criteria) this;
        }

        public Criteria andRepairPersonGreaterThanOrEqualTo(String value) {
            addCriterion("repair_person >=", value, "repairPerson");
            return (Criteria) this;
        }

        public Criteria andRepairPersonLessThan(String value) {
            addCriterion("repair_person <", value, "repairPerson");
            return (Criteria) this;
        }

        public Criteria andRepairPersonLessThanOrEqualTo(String value) {
            addCriterion("repair_person <=", value, "repairPerson");
            return (Criteria) this;
        }

        public Criteria andRepairPersonLike(String value) {
            addCriterion("repair_person like", value, "repairPerson");
            return (Criteria) this;
        }

        public Criteria andRepairPersonNotLike(String value) {
            addCriterion("repair_person not like", value, "repairPerson");
            return (Criteria) this;
        }

        public Criteria andRepairPersonIn(List<String> values) {
            addCriterion("repair_person in", values, "repairPerson");
            return (Criteria) this;
        }

        public Criteria andRepairPersonNotIn(List<String> values) {
            addCriterion("repair_person not in", values, "repairPerson");
            return (Criteria) this;
        }

        public Criteria andRepairPersonBetween(String value1, String value2) {
            addCriterion("repair_person between", value1, value2, "repairPerson");
            return (Criteria) this;
        }

        public Criteria andRepairPersonNotBetween(String value1, String value2) {
            addCriterion("repair_person not between", value1, value2, "repairPerson");
            return (Criteria) this;
        }

        public Criteria andRecordPersonIsNull() {
            addCriterion("record_person is null");
            return (Criteria) this;
        }

        public Criteria andRecordPersonIsNotNull() {
            addCriterion("record_person is not null");
            return (Criteria) this;
        }

        public Criteria andRecordPersonEqualTo(String value) {
            addCriterion("record_person =", value, "recordPerson");
            return (Criteria) this;
        }

        public Criteria andRecordPersonNotEqualTo(String value) {
            addCriterion("record_person <>", value, "recordPerson");
            return (Criteria) this;
        }

        public Criteria andRecordPersonGreaterThan(String value) {
            addCriterion("record_person >", value, "recordPerson");
            return (Criteria) this;
        }

        public Criteria andRecordPersonGreaterThanOrEqualTo(String value) {
            addCriterion("record_person >=", value, "recordPerson");
            return (Criteria) this;
        }

        public Criteria andRecordPersonLessThan(String value) {
            addCriterion("record_person <", value, "recordPerson");
            return (Criteria) this;
        }

        public Criteria andRecordPersonLessThanOrEqualTo(String value) {
            addCriterion("record_person <=", value, "recordPerson");
            return (Criteria) this;
        }

        public Criteria andRecordPersonLike(String value) {
            addCriterion("record_person like", value, "recordPerson");
            return (Criteria) this;
        }

        public Criteria andRecordPersonNotLike(String value) {
            addCriterion("record_person not like", value, "recordPerson");
            return (Criteria) this;
        }

        public Criteria andRecordPersonIn(List<String> values) {
            addCriterion("record_person in", values, "recordPerson");
            return (Criteria) this;
        }

        public Criteria andRecordPersonNotIn(List<String> values) {
            addCriterion("record_person not in", values, "recordPerson");
            return (Criteria) this;
        }

        public Criteria andRecordPersonBetween(String value1, String value2) {
            addCriterion("record_person between", value1, value2, "recordPerson");
            return (Criteria) this;
        }

        public Criteria andRecordPersonNotBetween(String value1, String value2) {
            addCriterion("record_person not between", value1, value2, "recordPerson");
            return (Criteria) this;
        }

        public Criteria andIsTroubleIsNull() {
            addCriterion("is_trouble is null");
            return (Criteria) this;
        }

        public Criteria andIsTroubleIsNotNull() {
            addCriterion("is_trouble is not null");
            return (Criteria) this;
        }

        public Criteria andIsTroubleEqualTo(Integer value) {
            addCriterion("is_trouble =", value, "isTrouble");
            return (Criteria) this;
        }

        public Criteria andIsTroubleNotEqualTo(Integer value) {
            addCriterion("is_trouble <>", value, "isTrouble");
            return (Criteria) this;
        }

        public Criteria andIsTroubleGreaterThan(Integer value) {
            addCriterion("is_trouble >", value, "isTrouble");
            return (Criteria) this;
        }

        public Criteria andIsTroubleGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_trouble >=", value, "isTrouble");
            return (Criteria) this;
        }

        public Criteria andIsTroubleLessThan(Integer value) {
            addCriterion("is_trouble <", value, "isTrouble");
            return (Criteria) this;
        }

        public Criteria andIsTroubleLessThanOrEqualTo(Integer value) {
            addCriterion("is_trouble <=", value, "isTrouble");
            return (Criteria) this;
        }

        public Criteria andIsTroubleIn(List<Integer> values) {
            addCriterion("is_trouble in", values, "isTrouble");
            return (Criteria) this;
        }

        public Criteria andIsTroubleNotIn(List<Integer> values) {
            addCriterion("is_trouble not in", values, "isTrouble");
            return (Criteria) this;
        }

        public Criteria andIsTroubleBetween(Integer value1, Integer value2) {
            addCriterion("is_trouble between", value1, value2, "isTrouble");
            return (Criteria) this;
        }

        public Criteria andIsTroubleNotBetween(Integer value1, Integer value2) {
            addCriterion("is_trouble not between", value1, value2, "isTrouble");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andIsValidIsNull() {
            addCriterion("is_valid is null");
            return (Criteria) this;
        }

        public Criteria andIsValidIsNotNull() {
            addCriterion("is_valid is not null");
            return (Criteria) this;
        }

        public Criteria andIsValidEqualTo(Integer value) {
            addCriterion("is_valid =", value, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidNotEqualTo(Integer value) {
            addCriterion("is_valid <>", value, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidGreaterThan(Integer value) {
            addCriterion("is_valid >", value, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_valid >=", value, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidLessThan(Integer value) {
            addCriterion("is_valid <", value, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidLessThanOrEqualTo(Integer value) {
            addCriterion("is_valid <=", value, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidIn(List<Integer> values) {
            addCriterion("is_valid in", values, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidNotIn(List<Integer> values) {
            addCriterion("is_valid not in", values, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidBetween(Integer value1, Integer value2) {
            addCriterion("is_valid between", value1, value2, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidNotBetween(Integer value1, Integer value2) {
            addCriterion("is_valid not between", value1, value2, "isValid");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeIsNull() {
            addCriterion("last_modify_time is null");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeIsNotNull() {
            addCriterion("last_modify_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeEqualTo(Date value) {
            addCriterion("last_modify_time =", value, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeNotEqualTo(Date value) {
            addCriterion("last_modify_time <>", value, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeGreaterThan(Date value) {
            addCriterion("last_modify_time >", value, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_modify_time >=", value, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeLessThan(Date value) {
            addCriterion("last_modify_time <", value, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_modify_time <=", value, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeIn(List<Date> values) {
            addCriterion("last_modify_time in", values, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeNotIn(List<Date> values) {
            addCriterion("last_modify_time not in", values, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeBetween(Date value1, Date value2) {
            addCriterion("last_modify_time between", value1, value2, "lastModifyTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_modify_time not between", value1, value2, "lastModifyTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}